
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 资源未找到</title>
    <script src="/error/js/tailwindcss.min.js"></script>
    <link href="/error/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#22c55e',
                        dark: '#1e293b',
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .illustration-shadow {
                filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
            }
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen flex items-center justify-center p-4 md:p-8">
    <div class="container mx-auto">
        <div class="flex flex-col md:flex-row items-center justify-between gap-8 md:gap-16">
            <!-- 左侧插画区域 -->
            <div class="w-full md:w-1/2 flex justify-center">
                <div class="w-full max-w-md illustration-shadow">
                    <img src="/error/images/404.svg" alt="404"
                         class="w-full h-auto rounded-lg object-cover transition-all duration-300 hover:scale-105">
                </div>
            </div>
            
            <!-- 右侧信息区域 -->
            <div class="w-full md:w-1/2 text-center md:text-left">
                <h1 class="text-[clamp(5rem,15vw,10rem)] font-bold text-dark leading-none mb-4">404</h1>
                <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-semibold text-dark mb-6">哎呀！你迷路了</h2>
                <p class="text-gray-600 text-lg mb-8 max-w-md mx-auto md:mx-0">
                    你所寻找的资源不存在。你是如何来到这里的仍是个谜。
                    <br>但你可以点击下面的按钮返回首页。
                </p>
                <a href="/" class="inline-block bg-primary hover:bg-primary/90 text-white font-medium py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:ring-offset-2">
                    <i class="fa fa-home mr-2"></i>返回首页
                </a>
            </div>
        </div>
        
        <!-- 页脚信息 -->
        <div class="mt-12 text-center text-gray-500 text-sm">
            <p></p>
        </div>
    </div>

    <!-- 简单的动画效果脚本 -->
    <script>
        // 为返回按钮添加点击反馈
        document.querySelector('a').addEventListener('click', function(e) {
            this.classList.add('scale-95');
            setTimeout(() => this.classList.remove('scale-95'), 200);
        });

        // 页面加载动画
        document.addEventListener('DOMContentLoaded', function() {
            document.body.classList.add('opacity-100');
            document.body.classList.remove('opacity-0');
        });
    </script>
</body>
</html>
